/*
 * AllowUserResource.h
 *
 *  Created on: 2013. 12. 27.
 *      Author: the2
 */

#ifndef ALLOWUSERRESOURCE_H_
#define ALLOWUSERRESOURCE_H_

#include <vector>
#include <string>

namespace ProjectZ {
namespace NResource {

class AllowUserResource {
public:
	AllowUserResource();
	virtual ~AllowUserResource();

	bool 			LoadResource();

	bool			IsAllowUser(std::string socialid);
public:
	typedef std::vector<std::string> ALLOWUSERVECTOR;

	ALLOWUSERVECTOR & GetAllowUser() { return _allowUserVector; }

private:
	ALLOWUSERVECTOR _allowUserVector;
};

} /* namespace NResource */
} /* namespace ProjectZ */

#endif /* ALLOWUSERRESOURCE_H_ */
